package com.api.shopapi.service;

import com.api.shopapi.entity.GoodsColor;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface GoodsColorService {

    int insert(GoodsColor goodsColor);

    int delete(String goodsColorCode);

    int update(GoodsColor goodsColor);

    GoodsColor getByGoodsColorCode(String goodsColorCode);

    List<GoodsColor> getList();

    PageInfo<GoodsColor> getPageList(int pageIndex,int pageSize,String name,int status);

}
